<%-- 
    Document   : updatePassword
    Created on : 2017-3-23, 23:06:48
    Author     : DELL
--%>
<%@page import="com.entity.Student"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    
                    <%
        Student stu = null;
        stu =(Student)session.getAttribute("student");
 
           
    %>
    
    <body>
        
             <hr>
               <table width="100%" align="center">
            <tr >
                <td>
                    <s:a href="LookMessage.action">查看个人信息</s:a>
                </td>
                                <td>
                    <s:a href="updateMessage.jsp">修改个人信息</s:a>
                </td>
                                <td>
                    <s:a href="CourseGrade.action">课程成绩</s:a>
                </td>
                                <td>
                    <s:a href="updatePassword.jsp">修改密码</s:a>
                </td>
                                <td>
                    <s:a href="../index2.jsp" target="_top" >退出系统</s:a>
                </td>
        
            </tr>
        </table>
        
        
        <hr>
         <br><br>
        
         
         
         
         
          <form action="UpdatePassword" method="post">
 <table width="42%" align="center" border="2" cellspacing="0" cellpadding="0" bgcolor="gray" >

            <tr align="left">
                <td height="30">用户密码</td>
                <td>
                    <input type="password" name="password1" value="<%=stu.getPassword()%>">  
                </td>
            </tr>
              <tr align="left">
                <td height="30">重复密码</td>
                <td>
                    <input type="password" name="password2" value="<%=stu.getPassword()%>">  
                </td>
            </tr>
        
        <tr  >
            <td height="30" align="center" colspan="2">
                
                <input type="submit" value="确定" size="12">&nbsp;&nbsp;&nbsp;
                     <input type="reset" value="取消" size="12">
                </td>
   
            </tr>
            
          </table>
        </form>
         
         
         
         
    </body>
    
    
    
    
    
    
    
    
    
    
    
    
</html>
